package com.itheima.pinda.DTO.entity.dto;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.itheima.pinda.DTO.entity.pojo.user.PdTruckDriver;
import lombok.Data;

import java.io.Serializable;

@Data
public class PdTruckDriverDTO extends Model<PdTruckDriver> {
    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 用户id，来自用户表
     */
    private String userId;

    /**
     * 所属车队id
     */
    private String fleetId;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 图片
     */
    private String picture;

    /**
     * 驾龄
     */
    private Integer drivingAge;

    /**
     * 车队名
     */
    private String fleetName;

    /**
     * 所属机构
     */
//    private String



    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
